﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PortfolioFinalProject.DataModels
{
    public class Project
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public string TechStack { get; set; }
        public string RepoUrl { get; set; }
        public string ProjectUrl { get; set; }
        public string Image { get; set; }
        public string Type { get; set; }
        public Project()
        {

        }
        public Project(string title, string description, string techstack, string repourl, string projecturl, string image, string type)
        {
            Title = title;
            Description = description;
            TechStack = techstack;
            RepoUrl = repourl;
            ProjectUrl = projecturl;
            Image = image;
            Type = type;
        }
        public void setProps(Project project)
        {
            this.Title = project.Title;
            this.Description = project.Description;
            this.TechStack = project.TechStack;
            this.RepoUrl = project.RepoUrl;
            this.ProjectUrl = project.ProjectUrl;
            this.Image = project.Image;
        }
    }
}
